package com.health.circle.ui;

import android.os.Bundle;
import android.os.Handler;

import com.health.circle.R;
import com.health.circle.base.BaseActivity;

public class SplashActivity extends BaseActivity {

	// 延迟2秒
	private final int SPLASH_DISPLAY_LENGHT = 3000;

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		 setContentView(R.layout.start_activity);

		new Handler().postDelayed(new Runnable() {

			public void run() {

				openActivity(MainActivity.class);
				defaultFinish();
				
			}

		}, SPLASH_DISPLAY_LENGHT);

	}

}
